/*******************************************************************************
 * Copyright (c) 2001, 2002 Boris Pruessmann and others.
 * All rights reserved.   This program and the accompanying materials
 * are made available under the terms of the Common Public License v0.5
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/cpl-v05.html
 * 
 * Contributors:
 *    Boris Pruessmann - Initial implementation.
 ******************************************************************************/
package net.sourceforge.perforce.core.api;

/**
  * This interface describes the result of a 'p4 resolve' command.
  * 
  * @version $Revision: 202 $
  * @author  <a href="mailto:bpruessmann@users.sourceforge.net">Boris Pruessmann</a>
  */
public interface IResolveResult
{
	// ------------------------------------------------------------------------------------- Methods
	
	/** Returns the depot filename.
	  *
	  * @return the depot filename. 
	  */
	String getDepotFilename();
	
	/** Returns the filename in local syntax. 
	  * 
	  * @return the filename.
	  */
	String getLocalFilename();
	
	/** Returns the first revision to resolve.
	  * 
	  * @return the revision.
 	  */
	Integer getRevision();
	
	/** Checks whether the file was skipped or not.
	  *
	  * @return true if file was skipped, false otherwise 
	  */
	boolean isSkipped();
}
